package zld369504.tw.m_team.dao;

import java.io.Serializable;

public class Torrent implements Serializable {

    private int torrentId;
    //类型
    private String typeName;
    private String typePicUrl;
    private int typeInt;

    //种子图片
    private String imageUrl;
    private boolean isOfficial;
    private String title;
    private String subTitle;

    private int discount;//优惠
    private String discountTimeLeft;//优惠剩余时间
    private boolean includeChineseSubtitle;//是否有中字
    private boolean includeChineseTrack;//是否有国语配音
    private boolean diy;//diy or not
    private boolean hot;//hot or not
    private boolean newTorrent;//new or not

    private int stickyTopLevel;//置顶级别。0表示没有置顶，1表示sticky_normal，2表示sticky_top

    private String releaseTime;//发布时间
    private String ttlTime;//存活时间
    private String size;

    private int uploadingCount;
    private int downloadingCount;
    private int finishedCount;

    public Torrent() {
        discount = 0;
        includeChineseSubtitle = false;
        includeChineseTrack = false;
        diy = false;
        hot = false;
        newTorrent = false;
    }

    public int getStickyTopLevel() {
        return stickyTopLevel;
    }

    public void setStickyTopLevel(int stickyTopLevel) {
        this.stickyTopLevel = stickyTopLevel;
    }

    public int getTorrentId() {
        return torrentId;
    }

    public void setTorrentId(int torrentId) {
        this.torrentId = torrentId;
    }

    public boolean isHot() {
        return hot;
    }

    public void setHot(boolean hot) {
        this.hot = hot;
    }

    public boolean isNewTorrent() {
        return newTorrent;
    }

    public void setNewTorrent(boolean newTorrent) {
        this.newTorrent = newTorrent;
    }

    public boolean isDiy() {
        return diy;
    }

    public void setDiy(boolean diy) {
        this.diy = diy;
    }

    public boolean isIncludeChineseTrack() {
        return includeChineseTrack;
    }

    public void setIncludeChineseTrack(boolean includeChineseTrack) {
        this.includeChineseTrack = includeChineseTrack;
    }

    public String getDiscountTimeLeft() {
        return discountTimeLeft;
    }

    public void setDiscountTimeLeft(String discountTimeLeft) {
        this.discountTimeLeft = discountTimeLeft;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypePicUrl() {
        return typePicUrl;
    }

    public void setTypePicUrl(String typePicUrl) {
        this.typePicUrl = typePicUrl;
    }

    public int getTypeInt() {
        return typeInt;
    }

    public void setTypeInt(int typeInt) {
        this.typeInt = typeInt;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public boolean isOfficial() {
        return isOfficial;
    }

    public void setOfficial(boolean official) {
        isOfficial = official;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getDiscount() {
        return discount;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public boolean isIncludeChineseSubtitle() {
        return includeChineseSubtitle;
    }

    public void setIncludeChineseSubtitle(boolean includeChineseSubtitle) {
        this.includeChineseSubtitle = includeChineseSubtitle;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(String releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getTtlTime() {
        return ttlTime;
    }

    public void setTtlTime(String ttlTime) {
        this.ttlTime = ttlTime;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public int getUploadingCount() {
        return uploadingCount;
    }

    public void setUploadingCount(int uploadingCount) {
        this.uploadingCount = uploadingCount;
    }

    public int getDownloadingCount() {
        return downloadingCount;
    }

    public void setDownloadingCount(int downloadingCount) {
        this.downloadingCount = downloadingCount;
    }

    public int getFinishedCount() {
        return finishedCount;
    }

    public void setFinishedCount(int finishedCount) {
        this.finishedCount = finishedCount;
    }

}
